TITLE = [[Qoppa]]
CSS  = [[help.css]]
TARGET = [[<Qoppa$dir>.Doc.Help/html]]
--------------------
local div, p, pre in TAG

BODY = div (CLASS [[content]]) {
div (CLASS [[logo]]) [[]];
p ( ) [[Qoppa is an application to help you write web pages.
Double click !Qoppa to put its icon on the iconbar.
Click Select on the iconbar icon to see this help
page and click Adjust on the iconbar icon to open
the directory &lt;qoppa$dir&gt;.Doc. In it you will see
a textfile Helpsrc. This webpage was created by dragging
Helpsrc to the iconbar icon.]];
p ( ) [[To make a webpage drag a textfile to the iconbar icon.
The webpage needs to be in a certain form. Its first three lines
should define TITLE, the webpages title which your browser may
show in its titlebar, CSS the path, relative to the webpage
in Unix notation, of its style sheet, and TARGET the pathname
of the webpage itself, in RISC OS notation.]];
p ( ) [[Text values are enclosed in double square brackets. Text
can spread over many lines. The first newline after the opening
double square brackets is ignored. The symbols &lt;, &gt; and &amp;
should not appear in text. Instead use the expressions &amp;lt;,
&amp;gt; and &amp;amp; respectively.]];
p ( ) [[Lines beginning with two hyphens are ignored, unless
they are followed immediately by opening double square brackets,
in which case the whole of that text is ignored.]];
p ( ) {
[[The textfile must end with a definition for BODY, that
describes the body of the web page. This is made up by sequences
of expressions or text, both of which may be tagged. Sequences
are denoted by braces and their items are terminated by semicolons.
Tags must be declared before use by a statement of the form]];
pre ( ) [[               local ... in TAG]];
[[A tag takes two arguments - the first for the text, if any, within
the opening tag, the second for the text between the opening and
closing tag, if any. Empty arguments are denoted ( ). ]];
p ( ) [[If the first argument of a tag has the form]];
pre ( ) [=[          (CLASS [[foo]]) ]=];
[[then the CSS-style foo will be used for its contents. Note that arguments
which are compound expressions must be enclosed in parentheses. Short line-level
tags, e.g. &lt;em&gt;, are probably easier to insert directly into the text.]];
      };
p (CLASS [[nb]]) [[
!Qoppa does not need RiscLua or the Weave library to be installed.]];
}